<!DOCTYPE html>
<html>
<head>
<title>{$user_login}  - 我的分销</title>
<meta name="keywords" content=""/>
<meta name="description" content="">
    <link rel="stylesheet" type="text/css" href="__TMPL__/public/assets/html-c-j/css/basic.css" />
    <link rel="stylesheet" type="text/css" href="__TMPL__/public/assets/html-c-j/css/index.css" />
<include file="public@head"/>
</head>

<body class="body-white" id="top">
<include file="public@nav" />

	<div class="container tc-main">
		<div class="row">
			<div class="col-md-3">
				<include file="public@usernav" />
			</div>
			<div class="col-md-9">
				<div class="tabs">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#one" data-toggle="tab"><i class="fa fa-star"></i> 一级</a></li>
                        <li><a href="#two" data-toggle="tab"><i class="fa fa-star"></i> 二级</a></li>
                        <li><a href="#there" data-toggle="tab"><i class="fa fa-star"></i> 三级</a></li>
                    </ul>
					<div class="tab-content">
						<div class="tab-pane active" id="one">
							<br>
							<table class="table table-bordered table-striped table-hover">
								<thead>
									<tr>
										<th>#</th>
										<th>昵称/账户</th>
										<th>贡献的积分</th>
                                        <th>入站时间</th>
                                        <th>操作</th>
									</tr>
								</thead>
								<tbody>
									<foreach name="lists" item="vo">
									<tr>
										<td>{$vo.id}</td>
                                        <td>{$vo.user_name}</td>
                                        <td>{$vo.father_contribute}</td>
										<td>{$vo.create_time}</td>
										<td>
											<a href="{:url('user/Distribute/next',array('id'=>$vo['user_id']))}">查看</a>
                                            <a class="js-ajax-dialog-btn" href="{:url('user/distribute/negate',array('id'=>$vo['id'],'negate_obj'=>1,))}" data-msg="您确定要解除关系吗？" data-ok="" data-cacel="取消">解除关系</a>
										</td>
									</tr>
									</foreach>
								</tbody>
							</table>
							<div class="pagination">{$page|default=''}</div>
						</div>
                        <div class="tab-pane" id="two">
                            <br>
                            <table class="table table-bordered table-striped table-hover">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>昵称/账户</th>
                                    <th>贡献的积分</th>
                                    <th>入站时间</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <foreach name="lists2" item="vo">
                                    <tr>
                                        <td>{$vo.id}</td>
                                        <td>{$vo.user_name}</td>
                                        <td>{$vo.grandpa_contribute}</td>
                                        <td>{$vo.create_time}</td>
                                        <td>
                                            <a href="{:url('user/Distribute/next',array('id'=>$vo['user_id']))}">查看</a>
                                            <a class="js-ajax-dialog-btn" href="{:url('user/distribute/negate',array('id'=>$vo['id'],'negate_obj'=>2,))}" data-msg="您确定要解除关系吗？" data-ok="" data-cacel="取消">解除关系</a>
                                        </td>
                                    </tr>
                                </foreach>
                                </tbody>
                            </table>
                            <div class="pagination">{$page2|default=''}</div>
                        </div>
                        <div class="tab-pane" id="there">
                            <br>
                            <table class="table table-bordered table-striped table-hover">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>昵称/账户</th>
                                    <th>贡献的积分</th>
                                    <th>入站时间</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <foreach name="lists3" item="vo">
                                    <tr>
                                        <td>{$vo.id}</td>
                                        <td>{$vo.user_name}</td>
                                        <td>{$vo.great_grandpa_contribute}</td>
                                        <td>{$vo.create_time}</td>
                                        <td>
                                            <a href="{:url('user/Distribute/next',array('id'=>$vo['user_id']))}">查看</a>
                                            <a class="js-ajax-dialog-btn" href="{:url('user/distribute/negate',array('id'=>$vo['id'],'negate_obj'=>3,))}" data-msg="您确定要解除关系吗？" data-ok="" data-cacel="取消">解除关系</a>
                                        </td>
                                    </tr>
                                </foreach>
                                </tbody>
                            </table>
                            <div class="pagination">{$page3|default=''}</div>
                        </div>
					</div>
				</div>
			</div>
		</div>
	</div>
<include file="public@footer_jh" />
<!-- /container -->
<include file="public@scripts_xy" />
<include file="public@scripts_footer" />
</body>
</html>